﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020012BF RID: 4799
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SwordTrainingStoryConfirmScRsp : IMessage<SwordTrainingStoryConfirmScRsp>, IMessage, IEquatable<SwordTrainingStoryConfirmScRsp>, IDeepCloneable<SwordTrainingStoryConfirmScRsp>, IBufferMessage
	{
		// Token: 0x17003CB2 RID: 15538
		// (get) Token: 0x0600D70F RID: 55055 RVA: 0x0024162D File Offset: 0x0023F82D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SwordTrainingStoryConfirmScRsp> Parser
		{
			get
			{
				return SwordTrainingStoryConfirmScRsp._parser;
			}
		}

		// Token: 0x17003CB3 RID: 15539
		// (get) Token: 0x0600D710 RID: 55056 RVA: 0x00241634 File Offset: 0x0023F834
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SwordTrainingStoryConfirmScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003CB4 RID: 15540
		// (get) Token: 0x0600D711 RID: 55057 RVA: 0x00241646 File Offset: 0x0023F846
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SwordTrainingStoryConfirmScRsp.Descriptor;
			}
		}

		// Token: 0x0600D712 RID: 55058 RVA: 0x0024164D File Offset: 0x0023F84D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingStoryConfirmScRsp()
		{
		}

		// Token: 0x0600D713 RID: 55059 RVA: 0x00241655 File Offset: 0x0023F855
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingStoryConfirmScRsp(SwordTrainingStoryConfirmScRsp other) : this()
		{
			this.gIHOBANKDJB_ = other.gIHOBANKDJB_;
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D714 RID: 55060 RVA: 0x00241686 File Offset: 0x0023F886
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingStoryConfirmScRsp Clone()
		{
			return new SwordTrainingStoryConfirmScRsp(this);
		}

		// Token: 0x17003CB5 RID: 15541
		// (get) Token: 0x0600D715 RID: 55061 RVA: 0x0024168E File Offset: 0x0023F88E
		// (set) Token: 0x0600D716 RID: 55062 RVA: 0x00241696 File Offset: 0x0023F896
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GIHOBANKDJB
		{
			get
			{
				return this.gIHOBANKDJB_;
			}
			set
			{
				this.gIHOBANKDJB_ = value;
			}
		}

		// Token: 0x17003CB6 RID: 15542
		// (get) Token: 0x0600D717 RID: 55063 RVA: 0x0024169F File Offset: 0x0023F89F
		// (set) Token: 0x0600D718 RID: 55064 RVA: 0x002416A7 File Offset: 0x0023F8A7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600D719 RID: 55065 RVA: 0x002416B0 File Offset: 0x0023F8B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SwordTrainingStoryConfirmScRsp);
		}

		// Token: 0x0600D71A RID: 55066 RVA: 0x002416BE File Offset: 0x0023F8BE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SwordTrainingStoryConfirmScRsp other)
		{
			return other != null && (other == this || (this.GIHOBANKDJB == other.GIHOBANKDJB && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D71B RID: 55067 RVA: 0x002416FC File Offset: 0x0023F8FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.GIHOBANKDJB != 0U)
			{
				num ^= this.GIHOBANKDJB.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D71C RID: 55068 RVA: 0x00241754 File Offset: 0x0023F954
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D71D RID: 55069 RVA: 0x0024175C File Offset: 0x0023F95C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D71E RID: 55070 RVA: 0x00241768 File Offset: 0x0023F968
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GIHOBANKDJB != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.GIHOBANKDJB);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D71F RID: 55071 RVA: 0x002417C0 File Offset: 0x0023F9C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.GIHOBANKDJB != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GIHOBANKDJB);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D720 RID: 55072 RVA: 0x00241818 File Offset: 0x0023FA18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SwordTrainingStoryConfirmScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.GIHOBANKDJB != 0U)
			{
				this.GIHOBANKDJB = other.GIHOBANKDJB;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D721 RID: 55073 RVA: 0x00241868 File Offset: 0x0023FA68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D722 RID: 55074 RVA: 0x00241874 File Offset: 0x0023FA74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 80U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.GIHOBANKDJB = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040055C2 RID: 21954
		private static readonly MessageParser<SwordTrainingStoryConfirmScRsp> _parser = new MessageParser<SwordTrainingStoryConfirmScRsp>(() => new SwordTrainingStoryConfirmScRsp());

		// Token: 0x040055C3 RID: 21955
		private UnknownFieldSet _unknownFields;

		// Token: 0x040055C4 RID: 21956
		public const int GIHOBANKDJBFieldNumber = 1;

		// Token: 0x040055C5 RID: 21957
		private uint gIHOBANKDJB_;

		// Token: 0x040055C6 RID: 21958
		public const int RetcodeFieldNumber = 10;

		// Token: 0x040055C7 RID: 21959
		private uint retcode_;
	}
}
